export default () => {
	let date = new Date();
	const Y = date.getFullYear()
	const M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1)
	const D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate())
	const H = date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
	const Min = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()
	const S = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds()
	const dateTime = Y + '年' + M + '月' + D + '日' + H + '时' + Min + '分' + S + '秒'
	const dateTimeObj = {
		Y,
		M,
		D,
		Min,
		S,
		dateTime
	}
	return dateTimeObj
}
